package com.hmall.api.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;

/**
 * TODO
 *
 * @Author mr.zhao
 * @Date 2025/6/17 20:56
 */
@FeignClient("cart-service")
public interface CartClient {

	@DeleteMapping("/carts/inner")
	public void deleteCartItemByIds(@RequestParam("userId") Long userId,@RequestParam("ids") Collection<Long> ids);
}
